package com.xjgc.eip.panel.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhanghongbin
 * @since 2019-11-20
 */
public class ZxjEipXsdd implements Serializable {

private static final long serialVersionUID=1L;

/**
 * 采购方总部编码，国家电网：sgcc
 */
private String purchaserHqCode;

/**
 * 销售订单号
 */
private String soNo;

/**
 * 供应商编码，即厂商编码
 */
private String supplierCode;

/**
 * 采购方编码
 */
private String buyerCode;

/**
 * 采购方公司省份，不带省字
 */
private String buyerProvince;

/**
 * 销售订单与采购订单的关联方式 1.关联到采购订单。 2.关联到采购订单行项目。0.无关联
 */
private String soRelType;

/**
 * 品类编码
 */
private String categoryCode;

/**
 * 种类编码
 */
private String subclassCode;

/**
 * 销售订单状态
 */
private String soStatus;

/**
 * 数据来源
 */
private String dataSource;

/**
 * 来源数据创建时间
 */
private String dataSourceCreateTime;

/**
 * 删除标志 y.是，n.否
 */
private String isDeleted;

/**
 * 供应商销售订单号，来自供应商
 */
private String supplierSoNo;

/**
 * 销售订单行项目号
 */
private String soItemNo;

/**
 * 销售订单行项目与采购订单的关联方式 1.关联到采购订单。 2.关联到采购订单行项目 。0.无关联。
 */
private String supplierSoRelType;

/**
 * 物资编码
 */
private String productCode;

/**
 * 物资名称
 */
private String productName;

/**
 * 物资单位
 */
private String productUnit;

/**
 * 物资数量
 */
private String productAmount;

/**
 * 物资id分组编号
 */
private String productIdGrpNo;

/**
 * 采购订单厂家计划交货日期
 */
private String planDeliveryDate;

/**
 * 采购订单厂家发货地点
 */
private String planDeliveryPlace;

/**
 * 采购订单厂家发货地点描述
 */
private String planDeliveryPlaceDesc;

/**
 * 1：未读（默认状态）
0：成功；
10001:XXX字段不能为空
10002:XXX字段超长
10003:XXX字段格式不正确
10004:XXX字段数值不正确
20001:找不到对应的采购订单号
20002:找不到对应的销售订单号
20003:找不到对应的生产订单号
20004:找不到对应的工单订单号
20005:找不到对应的供应商编号
20006:重复推送数据
90001:系统超时
90003:系统异常
 */
private String ioflag;

/**
 * 错误信息，接口同步返回消息
 */
private String message;

/**
 * 本条数据值新增/更新，0：新增，1：更新
 */
private String status;

/**
 * 全局交易流水号
 */
private String transno;

@TableId
private Integer orderId;

/**
 * 采购订单编号或者采购订单行项目号，SORELTYPE是1或2时必填
 */
private String eipPoNo;

/**
 * 数据拥有方
 */
private String ownerId;

/**
 * 数据可见方
 */
private String openId;
private Date pushTime;


public String getPurchaserHqCode() {
    return purchaserHqCode;
    }

public void setPurchaserHqCode(String purchaserHqCode) {
    this.purchaserHqCode = purchaserHqCode;
    }

public String getSoNo() {
    return soNo;
    }

public void setSoNo(String soNo) {
    this.soNo = soNo;
    }

public String getSupplierCode() {
    return supplierCode;
    }

public void setSupplierCode(String supplierCode) {
    this.supplierCode = supplierCode;
    }

public String getBuyerCode() {
    return buyerCode;
    }

public void setBuyerCode(String buyerCode) {
    this.buyerCode = buyerCode;
    }

public String getBuyerProvince() {
    return buyerProvince;
    }

public void setBuyerProvince(String buyerProvince) {
    this.buyerProvince = buyerProvince;
    }

public String getSoRelType() {
    return soRelType;
    }

public void setSoRelType(String soRelType) {
    this.soRelType = soRelType;
    }

public String getCategoryCode() {
    return categoryCode;
    }

public void setCategoryCode(String categoryCode) {
    this.categoryCode = categoryCode;
    }

public String getSubclassCode() {
    return subclassCode;
    }

public void setSubclassCode(String subclassCode) {
    this.subclassCode = subclassCode;
    }

public String getSoStatus() {
    return soStatus;
    }

public void setSoStatus(String soStatus) {
    this.soStatus = soStatus;
    }

public String getDataSource() {
    return dataSource;
    }

public void setDataSource(String dataSource) {
    this.dataSource = dataSource;
    }

public String getDataSourceCreateTime() {
    return dataSourceCreateTime;
    }

public void setDataSourceCreateTime(String dataSourceCreateTime) {
    this.dataSourceCreateTime = dataSourceCreateTime;
    }

public String getIsDeleted() {
    return isDeleted;
    }

public void setIsDeleted(String isDeleted) {
    this.isDeleted = isDeleted;
    }

public String getSupplierSoNo() {
    return supplierSoNo;
    }

public void setSupplierSoNo(String supplierSoNo) {
    this.supplierSoNo = supplierSoNo;
    }

public String getSoItemNo() {
    return soItemNo;
    }

public void setSoItemNo(String soItemNo) {
    this.soItemNo = soItemNo;
    }

public String getSupplierSoRelType() {
    return supplierSoRelType;
    }

public void setSupplierSoRelType(String supplierSoRelType) {
    this.supplierSoRelType = supplierSoRelType;
    }

public String getProductCode() {
    return productCode;
    }

public void setProductCode(String productCode) {
    this.productCode = productCode;
    }

public String getProductName() {
    return productName;
    }

public void setProductName(String productName) {
    this.productName = productName;
    }

public String getProductUnit() {
    return productUnit;
    }

public void setProductUnit(String productUnit) {
    this.productUnit = productUnit;
    }

public String getProductAmount() {
    return productAmount;
    }

public void setProductAmount(String productAmount) {
    this.productAmount = productAmount;
    }

public String getProductIdGrpNo() {
    return productIdGrpNo;
    }

public void setProductIdGrpNo(String productIdGrpNo) {
    this.productIdGrpNo = productIdGrpNo;
    }

public String getPlanDeliveryDate() {
    return planDeliveryDate;
    }

public void setPlanDeliveryDate(String planDeliveryDate) {
    this.planDeliveryDate = planDeliveryDate;
    }

public String getPlanDeliveryPlace() {
    return planDeliveryPlace;
    }

public void setPlanDeliveryPlace(String planDeliveryPlace) {
    this.planDeliveryPlace = planDeliveryPlace;
    }

public String getPlanDeliveryPlaceDesc() {
    return planDeliveryPlaceDesc;
    }

public void setPlanDeliveryPlaceDesc(String planDeliveryPlaceDesc) {
    this.planDeliveryPlaceDesc = planDeliveryPlaceDesc;
    }

public String getIoflag() {
    return ioflag;
    }

public void setIoflag(String ioflag) {
    this.ioflag = ioflag;
    }

public String getMessage() {
    return message;
    }

public void setMessage(String message) {
    this.message = message;
    }

public String getStatus() {
    return status;
    }

public void setStatus(String status) {
    this.status = status;
    }

public String getTransno() {
    return transno;
    }

public void setTransno(String transno) {
    this.transno = transno;
    }

public Integer getOrderId() {
    return orderId;
    }

public void setOrderId(Integer orderId) {
    this.orderId = orderId;
    }

public String getEipPoNo() {
    return eipPoNo;
    }

public void setEipPoNo(String eipPoNo) {
    this.eipPoNo = eipPoNo;
    }

public String getOwnerId() {
    return ownerId;
    }

public void setOwnerId(String ownerId) {
    this.ownerId = ownerId;
    }

public String getOpenId() {
    return openId;
    }

public void setOpenId(String openId) {
    this.openId = openId;
    }

    public Date getPushTime() {
        return pushTime;
    }

    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }

    @Override
public String toString() {
return "ZxjEipXsdd{" +
        "purchaserHqCode=" + purchaserHqCode +
        ", soNo=" + soNo +
        ", supplierCode=" + supplierCode +
        ", buyerCode=" + buyerCode +
        ", buyerProvince=" + buyerProvince +
        ", soRelType=" + soRelType +
        ", categoryCode=" + categoryCode +
        ", subclassCode=" + subclassCode +
        ", soStatus=" + soStatus +
        ", dataSource=" + dataSource +
        ", dataSourceCreateTime=" + dataSourceCreateTime +
        ", isDeleted=" + isDeleted +
        ", supplierSoNo=" + supplierSoNo +
        ", soItemNo=" + soItemNo +
        ", supplierSoRelType=" + supplierSoRelType +
        ", productCode=" + productCode +
        ", productName=" + productName +
        ", productUnit=" + productUnit +
        ", productAmount=" + productAmount +
        ", productIdGrpNo=" + productIdGrpNo +
        ", planDeliveryDate=" + planDeliveryDate +
        ", planDeliveryPlace=" + planDeliveryPlace +
        ", planDeliveryPlaceDesc=" + planDeliveryPlaceDesc +
        ", ioflag=" + ioflag +
        ", message=" + message +
        ", status=" + status +
        ", transno=" + transno +
        ", orderId=" + orderId +
        ", eipPoNo=" + eipPoNo +
        ", ownerId=" + ownerId +
        ", openId=" + openId +
"}";
}
}
